//
//  ShowWinScreen.h
//  FruitCrush
//
//  Created by gaoyu on 15/7/21.
//
//

#ifndef __FruitCrush__ShowWinScreen__
#define __FruitCrush__ShowWinScreen__
#include "cocos2d.h"
#include "WinStarView.h"
#include "CountDownModeLevelScreenConfig.h"
//#include "CountDownModeLevelScreen.h"
USING_NS_CC;

class ShowWinScreen : public cocos2d::Layer
{
public:
    ShowWinScreen();
    static cocos2d::Scene* createScene();
    CREATE_FUNC(ShowWinScreen);
    virtual bool init() override;
    
private:
    WinStarView *winStarView;
    void bgInit();
    void titleInit();
    void menuInit();
    void menuCallback(Ref *sender);
    void winStarViewInit();
    void rePlayDo();
    void playNextDo();
    void goldShowAndSave();
    void levelInfoSave();
    
};

#endif /* defined(__FruitCrush__ShowWinScreen__) */
